package com.youshang520i.demo.config;

import com.youshang520i.demo.MyBean2;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig2 {
    @Bean
    public MyBean2 myBean2() {
        System.out.println("MyConfig.myBean2()");
        return new MyBean2();
    }
}